<template>
  <div class="book-container banner">
    <div class="book-content">
      <div class="logo">
        <img src="/static/img/logo.png" alt="logo">
      </div>
      <div class="search-bar">
        <searchBar></searchBar>
      </div>
    </div>
  </div>
</template>

<script>
import searchBar from './components/searchBar'

export default {
  name: 'banner',
  components: {
    searchBar
  }
}
</script>

<style lang="scss" scoped>
  .banner {
    background: #F2F1EA;
    height: 120px;
    .book-content {
      height: 100%;
      display: flex;
      flex-direction: row;
      .logo {
        width: 40%;
        padding: 20px 0;
        text-align: center;
        img {
          height: 100%;
        }
      }
      .search-bar {
        flex: 1;
        padding: 5px 0;
      }
    }

  }
</style>
